package com.ddm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.Customer;
import com.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by he on 2025/3/24 20:56
 */
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {
    // 根据消费者ID查询消费者信息
    Customer selectCustomerById(Integer customerId);
    // 根据消费者ID删除消费者信息
    int deleteCustomerById(Integer customerId);
    //分页查询消费者
    List<Customer> selectCustomerList(Customer customer);
}
